package com.hackerrank.contests.july13.challenges.pegsolitaire;

public class InputGenerator {
	public static void main(String[] args) {
		int M = ((int)(Math.random() * 6)) + 5, N = ((int)(Math.random() * 6)) + 5;
		System.out.println(M + " " + N);
		for(int r = 0; r < M; r++) {
			for(int c = 0; c < N; c++) {
				if(Math.random() < 0.5)
					System.out.print("-");
				else
					System.out.print(".");
			}
			System.out.println();
		}
	}
}
